import request2 from '@/utils/request2'

export function getList(data) {
  return request2({
    url: '/old/enroll',
    method: 'post',
    data
  })
}
export function SetStu(status, id) {
  return request2({
    url: '/old/execGame',
    method: 'post',
    data: {
      id: id,
      status: status
    }
  })
}
export function setGrade(id, score, reviewer_id) {
  return request2({
    url: '/old/score/create',
    method: 'post',
    data: {
      register_id: id,
      score: score,
      reviewer_id: reviewer_id
    }
  })
}
export function addsign(data)
{
  return request2({
    url: '/old/sign/add',
    method: 'post',
    data
  })
}
export function getTeam(params)
{
  return request2({
    url: '/old/sign/getTeam',
    method: 'get',
    params
  })
}
export function getGame(params)
{
  return request2({
    url: '/old/sign/getGame',
    method: 'get',
    params
  })
}
